ddur\Warp_iMagick\Plugin D

Total Complexity 179
Dependencies 4
Dependents 2
Total lines 1,094
Lines of code 600
Logical lines of code 365
Comment lines 272
Methods 27
Properties 18

Methods 27

Method Rating Maintainability Complexity Lines of code
on_wp_generate_attachment_metadata_99_filter()
D
23
59 149
webp_clone_image()
B
38 21 68
catch_clear_attachment_metadata()
A
50 11 25
handle_admin_notices()
A
48 10 33
plugin_upgrade_handler()
A
48 8 35
handle_wordpress_init()
A
49 7 33
is_raw_image_template_request()
S
57 7 16
on_delete_attachment_action()
S
53 6 23
add_preview_thumbnails_template()
S
42 3 60
on_intermediate_image_sizes_advanced_minus99_filter()
S
54 5 23
is_valid_metadata()
S
60 5 15
can_generate_webp_clones()
S
55 4 21
get_absolute_upload_file_path()
S
62 4 12
set_disabled()
S
63 4 11
get_max_image_width()
S
65 4 9
on_wp_image_editors_99_filter()
S
63 3 10
why_is_disabled()
S
78 3 3
on_wp_handle_upload_filter()
S
66 2 8
do_generate_webp_clones()
S
75 2 4
on_big_image_size_threshold_99_filter()
S
66 2 8
restore_attachment_metadata()
S
66 2 9
init()
S
66 2 8
read_plugin_version()
S
78 1 3
is_disabled()
S
80 1 3
store_attachment_metadata()
S
71 1 5
is_upload()
S
82 1 3
set_my_wp_upload_basedir()
S
79 1 3